package com.ruoyi.demo.mapper;

import java.util.List;
import com.ruoyi.demo.domain.AuctionComment;

/**
 * 商品评论Mapper接口
 * 
 * @author metaee
 * @date 2025-05-06
 */
public interface AuctionCommentMapper 
{
    /**
     * 查询商品评论
     * 
     * @param commentId 商品评论主键
     * @return 商品评论
     */
    public AuctionComment selectAuctionCommentByCommentId(Long commentId);

    /**
     * 查询商品评论列表
     * 
     * @param auctionComment 商品评论
     * @return 商品评论集合
     */
    public List<AuctionComment> selectAuctionCommentList(AuctionComment auctionComment);

    /**
     * 新增商品评论
     * 
     * @param auctionComment 商品评论
     * @return 结果
     */
    public int insertAuctionComment(AuctionComment auctionComment);

    /**
     * 修改商品评论
     * 
     * @param auctionComment 商品评论
     * @return 结果
     */
    public int updateAuctionComment(AuctionComment auctionComment);

    /**
     * 删除商品评论
     * 
     * @param commentId 商品评论主键
     * @return 结果
     */
    public int deleteAuctionCommentByCommentId(Long commentId);

    /**
     * 批量删除商品评论
     * 
     * @param commentIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAuctionCommentByCommentIds(Long[] commentIds);
}
